package com.jzy.gulimall.authserver.feign;

import com.jzy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jzy
 * @date 2020/9/16 21:01
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendMessage")
    R sendMessage(@RequestParam("phone") String phone,@RequestParam("code") String code);
}
